import 'package:json_annotation/json_annotation.dart';

part 'sj_response_data.g.dart';

@JsonSerializable()
class SjResponseData {
  final int? code;
  final String? key;
  final String? msg;
  final dynamic data;
  final bool? success;
  final bool? fail;

  SjResponseData({this.code, this.key, this.msg, this.data, this.success, this.fail});

  factory SjResponseData.fromJson(Map<String, dynamic> json) => _$SjResponseDataFromJson(json);
  Map<String, dynamic> toJson() => _$SjResponseDataToJson(this);

}